#ifndef __KERNEL_H_
#define __KERNEL_H_

typedef struct
{
	uint16 wTimerPeriod;
	uint16 wTimerCount;
	uint16 wEvent;
}OS_TCB;

uint16 os_event_pend(uint8 bTaskPrio);
uint8  os_task_switch(uint8 bTaskPrio);
void os_event_post(uint8 bTaskPrio,uint16 wTaskevent);
void os_event_post_isr(uint8 bTaskPrio,uint16 wTaskEvent);
void os_task_create(uint8 bTaskPrio,uint16 wTimerPeriod);
void os_task_init(uint8 bTaskPrio,uint16 wTimerCount);
void os_task_update(void);
void os_init(void);
void os_start(void);
extern void task_init(void);
extern void task_start(void);
#endif

//===============================eND OF FiLe==================================//


	

